package tel.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tel.bean.Admin;
import tel.mapper.AdminMapper;
import tel.service.AdminService;

@Service("adminService")
public class AdminServiceImpl implements AdminService{

	@Autowired
	AdminMapper adminMapper;
	
	//这只是简单的测试能不能连上数据库
	@Override
	public Admin login(Admin admin) {
		return adminMapper.login(admin);
	}

}
